import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import router from './router/index'

//引入全局样式
import './index.css'

//引入字体图标
import './assets/font_3497284_6u5lsbkj4lx/iconfont.css'

const app = createApp(App)

app.use(ElementPlus)
app.use(router)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.mount('#app')
